package com.spzx.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.product.domain.Brand;
import com.spzx.product.domain.CategoryBrand;
import com.spzx.product.domain.CategoryBrandVo;
import com.spzx.product.domain.vo.CategoryBrandDetailVo;

import java.util.List;
import java.util.Map;


public interface CategoryBrandService extends IService<CategoryBrand> {
    List<CategoryBrandVo> selectCategoryBrandList(CategoryBrand categoryBrand);

    CategoryBrandDetailVo getDetailById(Long id);

    int addCategoryBrand(CategoryBrand categoryBrand);

    int updateCategoryBrand(CategoryBrand categoryBrand);

    Map<String,Long> getDetailByC3Id(Long categoryId);

    List<Brand> selectBrandById(Long categoryId);
}
